home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-08-02 | 8.5 KB | 289 lines | [TEXT/MPS ] |
-
- /*
- * This file was generated by the SOM Compiler.
- * FileName: CyberOpenerPartExtension.xih.
- * Generated using:
- * SOM Precompiler somipc: 2.18
- * SOM Emitter emitxih.dll: 2.33
- */
-
- #ifndef SOM_CyberOpenerPartExtension_xih
- #define SOM_CyberOpenerPartExtension_xih
-
- #include <somcls.xh>
- #include <somcm.xh>
-
- #ifndef SOM_CyberOpenerPartExtension_xh
- #include <CyberOpenerPartExtension.xh>
- #endif
-
- /*
- * Set the scope of methods functions
- */
- #ifndef SOM_Scope
- #define SOM_Scope extern "C"
- #endif
-
- #define CyberOpenerPartExtension_MaxNoMethods 7
-
- /*
- * -- Instance Data
- */
- typedef void CyberOpenerPartExtensionData;
-
- /*
- * Trace/Debug macro
- */
- #ifndef CyberOpenerPartExtensionMethodDebug
- #define CyberOpenerPartExtensionMethodDebug(c,m) SOMMethodDebug(c,m)
- #endif
-
- /*
- * -- Method Macros for use in Method Procedures
- */
- #ifdef METHOD_MACROS
- #define _ICyberProgressPartExtension somSelf->ICyberProgressPartExtension
- #define _AttachProgressBroadcaster somSelf->AttachProgressBroadcaster
- #define _DetachProgressBroadcaster somSelf->DetachProgressBroadcaster
- #define _GetAttachedProgressBroadcaster somSelf->GetAttachedProgressBroadcaster
- #define _GetCyberSession somSelf->GetCyberSession
- #define _CreateCyberSession somSelf->CreateCyberSession
- #define _InitExtension somSelf->InitExtension
- #define _GetBase somSelf->GetBase
- #define _BaseRemoved somSelf->BaseRemoved
- #define _IsValid somSelf->IsValid
- #define _CheckValid somSelf->CheckValid
- #define _Release somSelf->Release
- #define _InitRefCntObject somSelf->InitRefCntObject
- #define _Acquire somSelf->Acquire
- #define _Release somSelf->Release
- #define _GetRefCount somSelf->GetRefCount
- #define _somUninit somSelf->somUninit
- #define _InitObject somSelf->InitObject
- #define _HasExtension somSelf->HasExtension
- #define _AcquireExtension somSelf->AcquireExtension
- #define _ReleaseExtension somSelf->ReleaseExtension
- #define _Purge somSelf->Purge
- #define _IsEqualTo somSelf->IsEqualTo
- #define _SubClassResponsibility somSelf->SubClassResponsibility
- #define _somInit somSelf->somInit
- #define _somUninit somSelf->somUninit
- #define _somInit somSelf->somInit
- #define _somUninit somSelf->somUninit
- #define _somDuplicateReference somSelf->somDuplicateReference
- #define _somCompareReference somSelf->somCompareReference
- #define _somRelease somSelf->somRelease
- #define _somFree somSelf->somFree
- #define _somCanDelete somSelf->somCanDelete
- #define _somGetClass somSelf->somGetClass
- #define _somGetClassName somSelf->somGetClassName
- #define _somGetSize somSelf->somGetSize
- #define _somIsA somSelf->somIsA
- #define _somRespondsTo somSelf->somRespondsTo
- #define _somIsInstanceOf somSelf->somIsInstanceOf
- #define _somDispatch somSelf->somDispatch
- #define _somClassDispatch somSelf->somClassDispatch
- #define _somCastObj somSelf->somCastObj
- #define _somResetObj somSelf->somResetObj
- #define _somPrintSelf somSelf->somPrintSelf
- #define _somDumpSelf somSelf->somDumpSelf
- #define _somDumpSelfInt somSelf->somDumpSelfInt
- #define _ICyberOpenerPartExtension somSelf->ICyberOpenerPartExtension
- #define _BeginOpening somSelf->BeginOpening
- #define _EndOpening somSelf->EndOpening
- #define _OpenPart somSelf->OpenPart
- #define _OpenFile somSelf->OpenFile
- #define _GetDestinationDraft somSelf->GetDestinationDraft
- #define _GetWindow somSelf->GetWindow
- #endif
-
-
- /*
- * Introduced methods
- */
-
- /* New Method: ICyberOpenerPartExtension */
- SOM_Scope void SOMLINK CyberOpenerPartExtension__ICyberOpenerPartExtension(CyberOpenerPartExtension *somSelf, Environment *ev,
- ODPart* basePart);
-
- /* New Method: BeginOpening */
- SOM_Scope ODPart* SOMLINK CyberOpenerPartExtension__BeginOpening(CyberOpenerPartExtension *somSelf, Environment *ev,
- CyberItem* item,
- ODType openerKind,
- ParameterSet* openParams);
-
- /* New Method: EndOpening */
- SOM_Scope void SOMLINK CyberOpenerPartExtension__EndOpening(CyberOpenerPartExtension *somSelf, Environment *ev);
-
- /* New Method: OpenPart */
- SOM_Scope void SOMLINK CyberOpenerPartExtension__OpenPart(CyberOpenerPartExtension *somSelf, Environment *ev,
- CyberItem* item,
- ODPart* part,
- ParameterSet* openParams);
-
- /* New Method: OpenFile */
- SOM_Scope void SOMLINK CyberOpenerPartExtension__OpenFile(CyberOpenerPartExtension *somSelf, Environment *ev,
- CyberItem* item,
- FSSpecPtr file,
- ParameterSet* openParams);
-
- /* New Method: GetDestinationDraft */
- SOM_Scope ODDraft* SOMLINK CyberOpenerPartExtension__GetDestinationDraft(CyberOpenerPartExtension *somSelf, Environment *ev);
-
- /* New Method: GetWindow */
- SOM_Scope ODWindow* SOMLINK CyberOpenerPartExtension__GetWindow(CyberOpenerPartExtension *somSelf, Environment *ev);
-
- /*
- * -- Primary Implementation File Support
- */
- #if (defined(CyberOpenerPartExtension_Class_Source) || defined(SOM_Module_cyberopenerpartextension_Source))
-
- /*
- * -- The CyberOpenerPartExtension ClassData Structure
- */
-
- #if PRAGMA_IMPORT_SUPPORTED
- #pragma export list CyberOpenerPartExtensionClassData
- #endif
-
-
- /*
- * -- The CyberOpenerPartExtension Class Ancestor Table
- */
- static somClassDataStructure * SOMDLINK CyberOpenerPartExtensionClassAncestors [] = {
- (somClassDataStructure*) & CyberProgressPartExtensionClassData, /* parent */
- };
-
-
- static void CyberOpenerPartExtensionDLLD ( void ) { }
-
-
- /*
- * -- The CyberOpenerPartExtension Static Class Info Master Table
- */
- static somStaticClassInfo CyberOpenerPartExtensionSCI = {
- 70, /* layout version */
- (somClassDataStructure*) & CyberOpenerPartExtensionClassData, /* main token table */
- 0, /* no override procs table */
- CyberOpenerPartExtensionClassAncestors, /* ancestor table */
- CyberOpenerPartExtensionDLLD, /* DLLdesignator */
- 0, /* no special procs */
- 0, /* rtci slot */
- 0, /* count slot */
- 0, /* dynamic ancestry */
- 0, /* free */
- 0, /* free */
- 0, /* free */
- 0, /* free */
-
- /*
- * -- The CyberOpenerPartExtension Counts Table
- */
- (somStaticClassCounts *)
- "\x00\x00\x00\x01" /* majorversion */
- "\x00\x00\x00\x00" /* minorversion */
- "\x00\x00\x00\x01" /* flags */
- "\x00\x00" /* type code alignment */
- "\x00\x07" /* classTokenCount */
- "\x00\x01" /* numDirectParents */
- "\x00\x00" /* numMetaClasses */
- "\x00\x00" /* numOverriddenAncestors */
- "\x00\x00" /* numMigratedMethods */
- "\x00\x00" /* numSelectedInherited */
- "\x00\x00" /* numUnused */
- "\x00\x00" /* free */
- "\x00\x00" /* free */
- "\x00\x00" /* free */
- "\x00" /* free */
- ,
-
- {
- "CyberOpenerPartExtension", /* the class name */
- 0, /* no class instance data */
-
- /*
- * -- The CyberOpenerPartExtension Parent Versions Table
- */
- (somParentVersions *)
- "\x00\x00\x00\x01" /* majorversion */
- "\x00\x00\x00\x00" /* minorversion */
- ,
-
-
- /*
- * -- The CyberOpenerPartExtension Token Slot Usage Table
- */
- (somSlotUsage *)
- "\x00\x00\x00",
-
-
- /*
- * -- The CyberOpenerPartExtension Method Signature Info
- */
- (somSignatureInfo *)
- "\x03\x07" /* ICyberOpenerPartExtension */
- "\x05\x0c" /* BeginOpening */
- "\x02\x07" /* EndOpening */
- "\x05\x07" /* OpenPart */
- "\x05\x07" /* OpenFile */
- "\x02\x0c" /* GetDestinationDraft */
- "\x02\x0c" /* GetWindow */
- ,
-
-
- /*
- * -- The CyberOpenerPartExtension Class Method Names
- */
- "ICyberOpenerPartExtension\0"
- "BeginOpening\0"
- "EndOpening\0"
- "OpenPart\0"
- "OpenFile\0"
- "GetDestinationDraft\0"
- "GetWindow\0"
- ,
-
- 0, /* no override data table */
- 0, /* no migrated methods table */
- 0, /* no selected inherited */
- 0, /* unused */
-
- 0, /* free */
- 0, /* free */
- 0, /* free */
- 0, /* free */
- },
- };
-
- /*
- * -- The CyberOpenerPartExtension ClassData Structure
- */
- struct CyberOpenerPartExtensionClassDataStructure SOMDLINK CyberOpenerPartExtensionClassData = {
- 0, /* zero */
- & CyberOpenerPartExtensionSCI, /* SCI link */
- 0, /* instanceDataToken */
- 0, /* reserved */
- 0, /* reserved */
- 0, /* reserved */
- (somMToken) CyberOpenerPartExtension__ICyberOpenerPartExtension, /* ICyberOpenerPartExtension:method */
- (somMToken) CyberOpenerPartExtension__BeginOpening, /* BeginOpening:method */
- (somMToken) CyberOpenerPartExtension__EndOpening, /* EndOpening:method */
- (somMToken) CyberOpenerPartExtension__OpenPart, /* OpenPart:method */
- (somMToken) CyberOpenerPartExtension__OpenFile, /* OpenFile:method */
- (somMToken) CyberOpenerPartExtension__GetDestinationDraft, /* GetDestinationDraft:method */
- (somMToken) CyberOpenerPartExtension__GetWindow, /* GetWindow:method */
- };
-
-
- /*
- * Functions for attributes.
- */
-
- /*
- * Macros for initializers/destructors
- */
-
- #endif /* Primary Implementation Support */
-
- #endif /* SOM_CyberOpenerPartExtension_xih */
-